import request from '@/utils/request'

// 查询喂养模板列表
export function listSysModelFeeding(query) {
  return request({
    url: '/SysModel/SysModelFeeding/list',
    method: 'get',
    params: query
  })
}

// 查询喂养模板详细
export function getSysModelFeeding(id) {
  return request({
    url: '/SysModel/SysModelFeeding/' + id,
    method: 'get'
  })
}

// 新增喂养模板
export function addSysModelFeeding(data) {
  return request({
    url: '/SysModel/SysModelFeeding',
    method: 'post',
    data: data
  })
}

// 修改喂养模板
export function updateSysModelFeeding(data) {
  return request({
    url: '/SysModel/SysModelFeeding',
    method: 'put',
    data: data
  })
}

// 删除喂养模板
export function delSysModelFeeding(id) {
  return request({
    url: '/SysModel/SysModelFeeding/' + id,
    method: 'delete'
  })
}
